//
// Source code recreated from a .class file by IntelliJ IDEA  
// (powered by FernFlower decompiler)dissociation
//

package come.tool.JDialog;

import com.tool.image.ImageMixDeal;
import com.tool.role.RoleData;

import java.math.BigDecimal;
import java.util.Map;

import org.come.Frame.MountJframe;
import org.come.Frame.PartnerJframe;
import org.come.Frame.ZhuFrame;
import org.come.Jpanel.PartnerMainJpanel;
import org.come.Jpanel.TestPetJpanel;
import org.come.Jpanel.ZhuJpanel;
import org.come.bean.ConfigureBean;
import org.come.entity.Mount;
import org.come.entity.Pal;
import org.come.entity.RoleSummoning;
import org.come.model.Configure;
import org.come.mouslisten.ChangeMouseSymbolMouslisten;
import org.come.socket.Agreement;
import org.come.socket.SendMessageUntil;
import org.come.until.ExpIncreaseUntil;
import org.come.until.FormsManagement;
import org.come.until.UserMessUntil;

public class PalGetPetJDialog implements TiShiChuLi {
	public PalGetPetJDialog() {
	}

	public void tipBox(boolean tishi, Object object) {
		if (tishi) {
			if (object instanceof Pal) {
				Pal pal = (Pal)object;
				String sendmes = Agreement.getAgreement().userpalAgreement(pal.getId() + "|getPet");
                SendMessageUntil.toServer(sendmes);
				// 数量
				ConfigureBean allConfigure = UserMessUntil.getConfigureBean();
		    	Map<BigDecimal, Configure> item = allConfigure.getAllConfigure();
		    	Configure configure = item.get(new BigDecimal(1));
//                TestPetJpanel.getPetnum().setText("召唤兽("+UserMessUntil.getPetListTable().size() + "/" + configure.getXdzhssx()+")");
			}
		}
	}
}
